import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.stream.Collectors;

public class lambda {
    public static void main(String[] args) {
        List<Integer> ageList = new ArrayList<>();
        ageList.add(1);
        ageList.add(2);
        ageList.add(3);
        ageList.add(4);

        List<String> collect = ageList.stream().map(integer -> "hhh" + integer).collect(Collectors.toList());
        System.out.println(collect);

    }
}
